package generate

const template = `package main

import (
	"chainmaker/sandbox"
	"chainmaker/sdk"
	$imports
)

func main() {

	names := []string{$names}
	contracts := []sdk.Contract{$contracts}

	sandbox.StartCrossMock(names, contracts)
}
`

const goModTemplate = `module generate

go 1.16

require (
	github.com/gogo/protobuf v1.3.2
	github.com/golang/mock v1.6.0
	github.com/google/uuid v1.1.2 // indirect
	github.com/hokaccha/go-prettyjson v0.0.0-20201222001619-a42f9ac2ec8e
	github.com/magiconair/properties v1.8.5
	github.com/tjfoc/gmsm v1.4.1
	go.uber.org/zap v1.18.1
	golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
	golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
	golang.org/x/tools v0.1.10 // indirect
	golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect
	google.golang.org/grpc v1.40.0
)
`

const goSumTemplate = ""
